<?php

session_start();
if (isset($_SESSION["usermessage"])){
    $result=array("status"=>true,"msg"=>"已登录");
    print_r(json_encode($result));
}else{
    $result=array("status"=>false,"msg"=>"未登录");
    print_r(json_encode($result));
}
